/* Global variable initialization file */
/* AutoMod 11.1 */

#include "decls.h"

void
initglobs0()
{
	am_model.$sys = model;
	am_model.am_agv1.$sys = symGetSystemDataByName(am_model.$sys, "agv1");
	am_model.am_agv1.am_caminho9 = symGetSystemDataByName(am_model.am_agv1.$sys, "caminho9");
	am_model.am_agv1.am_caminho8 = symGetSystemDataByName(am_model.am_agv1.$sys, "caminho8");
	am_model.am_agv1.am_cp_Saisa = symGetSystemDataByName(am_model.am_agv1.$sys, "cp_Saisa");
	am_model.am_agv1.am_caminho12 = symGetSystemDataByName(am_model.am_agv1.$sys, "caminho12");
	am_model.am_agv1.am_cp_Maq2 = symGetSystemDataByName(am_model.am_agv1.$sys, "cp_Maq2");
	am_model.am_agv1.am_cp_Maq1 = symGetSystemDataByName(am_model.am_agv1.$sys, "cp_Maq1");
	am_model.am_agv1.am_cp_Entrada = symGetSystemDataByName(am_model.am_agv1.$sys, "cp_Entrada");
	am_model.am_agv1.am_caminho10 = symGetSystemDataByName(am_model.am_agv1.$sys, "caminho10");
	am_model.am_agv1.am_caminho4 = symGetSystemDataByName(am_model.am_agv1.$sys, "caminho4");
	am_model.am_agv1.am_caminho11 = symGetSystemDataByName(am_model.am_agv1.$sys, "caminho11");
	am_model.am_agv1.am_caminho3 = symGetSystemDataByName(am_model.am_agv1.$sys, "caminho3");
	am_model.am_agv1.am_cp_Maq3 = symGetSystemDataByName(am_model.am_agv1.$sys, "cp_Maq3");
	am_model.am_agv1.am_caminho7 = symGetSystemDataByName(am_model.am_agv1.$sys, "caminho7");
	am_model.am_agv1.am_caminho6 = symGetSystemDataByName(am_model.am_agv1.$sys, "caminho6");
	am_model.am_agv1.am_DefVehicle = symGetSystemDataByName(am_model.am_agv1.$sys, "DefVehicle");
	am_model.am_agv1.am_cp_Park = symGetSystemDataByName(am_model.am_agv1.$sys, "cp_Park");
	am_model.am_agv1.am_parentsys = symGetSystemDataByName(am_model.am_agv1.$sys, "parentsys");
	am_model.am_agv1.am_cpStart = symGetSystemDataByName(am_model.am_agv1.$sys, "cpStart");
	am_model.am_agv1.am_caminho2 = symGetSystemDataByName(am_model.am_agv1.$sys, "caminho2");
	am_model.am_agv1.am_caminho1 = symGetSystemDataByName(am_model.am_agv1.$sys, "caminho1");
	am_model.am_conv.$sys = symGetSystemDataByName(am_model.$sys, "conv");
	am_model.am_conv.am_DefaultSection = symGetSystemDataByName(am_model.am_conv.$sys, "DefaultSection");
	am_model.am_conv.am_DefaultStation = symGetSystemDataByName(am_model.am_conv.$sys, "DefaultStation");
	am_model.am_conv.am_DefaultPhotoeye = symGetSystemDataByName(am_model.am_conv.$sys, "DefaultPhotoeye");
	am_model.am_conv.am_DefaultMotor = symGetSystemDataByName(am_model.am_conv.$sys, "DefaultMotor");
	am_model.am_conv.am_DefaultTransfer = symGetSystemDataByName(am_model.am_conv.$sys, "DefaultTransfer");
	am_model.am_conv.am_parentsys = symGetSystemDataByName(am_model.am_conv.$sys, "parentsys");
	am_model.am_die = symGetSystemDataByName(am_model.$sys, "die");
	am_model.am_Flag_reserva_M3$var = symGetSystemDataByName(am_model.$sys, "Flag_reserva_M3");
	am_model.am_Flag_reserva_M3$var->data = (void*)&am_model.am_Flag_reserva_M3;
	am_model.am_P_P3 = symGetSystemDataByName(am_model.$sys, "P_P3");
	am_model.am_P_P1 = symGetSystemDataByName(am_model.$sys, "P_P1");
	am_model.am_P_P2 = symGetSystemDataByName(am_model.$sys, "P_P2");
	am_model.am_q2 = symGetSystemDataByName(am_model.$sys, "q2");
	am_model.am_q1 = symGetSystemDataByName(am_model.$sys, "q1");
	am_model.am_q3 = symGetSystemDataByName(am_model.$sys, "q3");
	am_model.am_qE_Maq3 = symGetSystemDataByName(am_model.$sys, "qE_Maq3");
	am_model.am_stream_r_Maquina1_1 = symGetSystemDataByName(am_model.$sys, "stream_r_Maquina1_1");
	am_model.am_P_configuracao = symGetSystemDataByName(am_model.$sys, "P_configuracao");
	am_model.am_OPCTimestamp$var = symGetSystemDataByName(am_model.$sys, "OPCTimestamp");
	am_model.am_OPCTimestamp$var->data = (void*)&am_model.am_OPCTimestamp;
	am_model.am_stream_r_Maquina3_1 = symGetSystemDataByName(am_model.$sys, "stream_r_Maquina3_1");
	am_model.am_t_P3M2$att = symGetSystemDataByName(am_model.$sys, "t_P3M2");
	am_model.am_stream_r_Maquina2_1 = symGetSystemDataByName(am_model.$sys, "stream_r_Maquina2_1");
	am_model.am_t_P3M3$att = symGetSystemDataByName(am_model.$sys, "t_P3M3");
	am_model.am_Flag_reserva_M2$var = symGetSystemDataByName(am_model.$sys, "Flag_reserva_M2");
	am_model.am_Flag_reserva_M2$var->data = (void*)&am_model.am_Flag_reserva_M2;
	am_model.am_t_P2M3$att = symGetSystemDataByName(am_model.$sys, "t_P2M3");
	am_model.am_t_P1M2$att = symGetSystemDataByName(am_model.$sys, "t_P1M2");
	am_model.am_Flag_reserva_M1$var = symGetSystemDataByName(am_model.$sys, "Flag_reserva_M1");
	am_model.am_Flag_reserva_M1$var->data = (void*)&am_model.am_Flag_reserva_M1;
	am_model.am_modelsys = symGetSystemDataByName(am_model.$sys, "modelsys");
	am_model.am_t_P1M1$att = symGetSystemDataByName(am_model.$sys, "t_P1M1");
	am_model.am_Space = symGetSystemDataByName(am_model.$sys, "Space");
	am_model.am_t_P2M1$att = symGetSystemDataByName(am_model.$sys, "t_P2M1");
	am_model.am_L_p2 = symGetSystemDataByName(am_model.$sys, "L_p2");
	am_model.am_L_incial = symGetSystemDataByName(am_model.$sys, "L_incial");
	am_model.am_L_p1 = symGetSystemDataByName(am_model.$sys, "L_p1");
	am_model.am_stream0 = symGetSystemDataByName(am_model.$sys, "stream0");
	am_model.am_QE = symGetSystemDataByName(am_model.$sys, "QE");
	am_model.am_L_p3 = symGetSystemDataByName(am_model.$sys, "L_p3");
	am_model.am_QF = symGetSystemDataByName(am_model.$sys, "QF");
	am_model.am_qE_Maq2 = symGetSystemDataByName(am_model.$sys, "qE_Maq2");
	am_model.am_qE_Maq1 = symGetSystemDataByName(am_model.$sys, "qE_Maq1");
	am_model.am_r_Maquina3 = symGetSystemDataByName(am_model.$sys, "r_Maquina3");
	am_model.am_OPCQuality$var = symGetSystemDataByName(am_model.$sys, "OPCQuality");
	am_model.am_OPCQuality$var->data = (void*)&am_model.am_OPCQuality;
	am_model.am_r_Maquina2 = symGetSystemDataByName(am_model.$sys, "r_Maquina2");
	am_model.am_r_Maquina1 = symGetSystemDataByName(am_model.$sys, "r_Maquina1");
	am_model.am_stream_L_incial_1 = symGetSystemDataByName(am_model.$sys, "stream_L_incial_1");
	model_code_init(&am_model);
	((ProcSystem*)am_model.$sys)->firsttype[1].size = sizeof(Acceleration);
	((ProcSystem*)am_model.$sys)->firsttype[1].valstrfunc = Acceleration_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[1].strvalfunc = str2Real;
	((ProcSystem*)am_model.$sys)->firsttype[2].size = sizeof(block*);
	((ProcSystem*)am_model.$sys)->firsttype[2].valstrfunc = BlockPtr_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[2].strvalfunc = (void (*)(char*))str2BlockPtr;
	((ProcSystem*)am_model.$sys)->firsttype[3].size = sizeof(AMBlockList*);
	((ProcSystem*)am_model.$sys)->firsttype[3].valstrfunc = BlockList_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[4].size = sizeof(ASI_Color);
	((ProcSystem*)am_model.$sys)->firsttype[4].valstrfunc = Color_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[4].strvalfunc = (void (*)(char*))str2Color;
	((ProcSystem*)am_model.$sys)->firsttype[5].size = sizeof(counter*);
	((ProcSystem*)am_model.$sys)->firsttype[5].valstrfunc = CounterPtr_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[5].strvalfunc = (void (*)(char*))str2CounterPtr;
	((ProcSystem*)am_model.$sys)->firsttype[6].size = sizeof(Distance);
	((ProcSystem*)am_model.$sys)->firsttype[6].valstrfunc = Distance_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[6].strvalfunc = str2Real;
	((ProcSystem*)am_model.$sys)->firsttype[7].size = sizeof(iofile*);
	((ProcSystem*)am_model.$sys)->firsttype[7].valstrfunc = FilePtr_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[7].strvalfunc = (void (*)(char*))str2FilePtr;
	((ProcSystem*)am_model.$sys)->firsttype[8].size = sizeof(bgraph*);
	((ProcSystem*)am_model.$sys)->firsttype[8].valstrfunc = GraphPtr_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[8].strvalfunc = (void (*)(char*))str2GraphPtr;
	((ProcSystem*)am_model.$sys)->firsttype[9].size = sizeof(int32);
	((ProcSystem*)am_model.$sys)->firsttype[9].valstrfunc = Integer_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[9].strvalfunc = str2Integer;
	((ProcSystem*)am_model.$sys)->firsttype[10].size = sizeof(label*);
	((ProcSystem*)am_model.$sys)->firsttype[10].valstrfunc = LabelPtr_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[10].strvalfunc = (void (*)(char*))str2LabelPtr;
	((ProcSystem*)am_model.$sys)->firsttype[11].size = sizeof(load*);
	((ProcSystem*)am_model.$sys)->firsttype[11].valstrfunc = LoadPtr_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[11].strvalfunc = (void (*)(char*))str2LoadPtr;
	((ProcSystem*)am_model.$sys)->firsttype[12].size = sizeof(AMLoadList*);
	((ProcSystem*)am_model.$sys)->firsttype[12].valstrfunc = LoadList_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[13].size = sizeof(loadtype*);
	((ProcSystem*)am_model.$sys)->firsttype[13].valstrfunc = LoadTypePtr_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[13].strvalfunc = (void (*)(char*))str2LoadTypePtr;
	((ProcSystem*)am_model.$sys)->firsttype[14].size = sizeof(simloc*);
	((ProcSystem*)am_model.$sys)->firsttype[14].valstrfunc = Location_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[14].strvalfunc = (void (*)(char*))str2Location;
	((ProcSystem*)am_model.$sys)->firsttype[15].size = sizeof(AMLocationList*);
	((ProcSystem*)am_model.$sys)->firsttype[15].valstrfunc = LocationList_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[16].size = sizeof(BulkMaterial*);
	((ProcSystem*)am_model.$sys)->firsttype[16].valstrfunc = MaterialPtr_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[16].strvalfunc = (void (*)(char*))str2MaterialPtr;
	((ProcSystem*)am_model.$sys)->firsttype[17].size = sizeof(State_machine*);
	((ProcSystem*)am_model.$sys)->firsttype[17].valstrfunc = MonitorPtr_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[17].strvalfunc = (void (*)(char*))str2MonitorPtr;
	((ProcSystem*)am_model.$sys)->firsttype[19].size = sizeof(ConvMotor*);
	((ProcSystem*)am_model.$sys)->firsttype[19].valstrfunc = MotorPtr_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[19].strvalfunc = (void (*)(char*))str2MotorPtr;
	((ProcSystem*)am_model.$sys)->firsttype[21].size = sizeof(ordlist*);
	((ProcSystem*)am_model.$sys)->firsttype[21].valstrfunc = OrderListPtr_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[21].strvalfunc = (void (*)(char*))str2OrderListPtr;
	((ProcSystem*)am_model.$sys)->firsttype[22].size = sizeof(Path*);
	((ProcSystem*)am_model.$sys)->firsttype[22].valstrfunc = PathPtr_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[22].strvalfunc = (void (*)(char*))str2PathPtr;
	((ProcSystem*)am_model.$sys)->firsttype[23].size = sizeof(AMPathList*);
	((ProcSystem*)am_model.$sys)->firsttype[23].valstrfunc = PathList_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[24].size = sizeof(Photoeye*);
	((ProcSystem*)am_model.$sys)->firsttype[24].valstrfunc = PhotoeyePtr_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[24].strvalfunc = (void (*)(char*))str2PhotoeyePtr;
	((ProcSystem*)am_model.$sys)->firsttype[25].size = sizeof(BulkPipe*);
	((ProcSystem*)am_model.$sys)->firsttype[25].valstrfunc = PipePtr_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[25].strvalfunc = (void (*)(char*))str2PipePtr;
	((ProcSystem*)am_model.$sys)->firsttype[26].size = sizeof(process*);
	((ProcSystem*)am_model.$sys)->firsttype[26].valstrfunc = ProcessPtr_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[26].strvalfunc = (void (*)(char*))str2ProcessPtr;
	((ProcSystem*)am_model.$sys)->firsttype[27].size = sizeof(queue*);
	((ProcSystem*)am_model.$sys)->firsttype[27].valstrfunc = QueuePtr_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[27].strvalfunc = (void (*)(char*))str2QueuePtr;
	((ProcSystem*)am_model.$sys)->firsttype[28].size = sizeof(Rate);
	((ProcSystem*)am_model.$sys)->firsttype[28].valstrfunc = Rate_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[28].strvalfunc = str2Real;
	((ProcSystem*)am_model.$sys)->firsttype[29].size = sizeof(double);
	((ProcSystem*)am_model.$sys)->firsttype[29].valstrfunc = Real_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[29].strvalfunc = str2Real;
	((ProcSystem*)am_model.$sys)->firsttype[30].size = sizeof(resource*);
	((ProcSystem*)am_model.$sys)->firsttype[30].valstrfunc = ResourcePtr_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[30].strvalfunc = (void (*)(char*))str2ResourcePtr;
	((ProcSystem*)am_model.$sys)->firsttype[32].size = sizeof(SchedJob*);
	((ProcSystem*)am_model.$sys)->firsttype[32].valstrfunc = SchedJobPtr_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[32].strvalfunc = (void (*)(char*))str2SchedJobPtr;
	((ProcSystem*)am_model.$sys)->firsttype[33].size = sizeof(AMSchedJobList*);
	((ProcSystem*)am_model.$sys)->firsttype[33].valstrfunc = SchedJobList_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[34].size = sizeof(ConvSection*);
	((ProcSystem*)am_model.$sys)->firsttype[34].valstrfunc = SectionPtr_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[34].strvalfunc = (void (*)(char*))str2SectionPtr;
	((ProcSystem*)am_model.$sys)->firsttype[36].size = sizeof(States*);
	((ProcSystem*)am_model.$sys)->firsttype[36].valstrfunc = StatePtr_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[36].strvalfunc = (void (*)(char*))str2StatePtr;
	((ProcSystem*)am_model.$sys)->firsttype[38].size = sizeof(rnstream*);
	((ProcSystem*)am_model.$sys)->firsttype[38].valstrfunc = StreamPtr_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[38].strvalfunc = (void (*)(char*))str2StreamPtr;
	((ProcSystem*)am_model.$sys)->firsttype[39].size = sizeof(char*);
	((ProcSystem*)am_model.$sys)->firsttype[39].valstrfunc = String_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[39].strvalfunc = str2String;
	((ProcSystem*)am_model.$sys)->firsttype[40].size = sizeof(AMStringList*);
	((ProcSystem*)am_model.$sys)->firsttype[40].valstrfunc = StringList_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[41].size = sizeof(System*);
	((ProcSystem*)am_model.$sys)->firsttype[41].valstrfunc = SystemPtr_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[41].strvalfunc = (void (*)(char*))str2SystemPtr;
	((ProcSystem*)am_model.$sys)->firsttype[42].size = sizeof(table*);
	((ProcSystem*)am_model.$sys)->firsttype[42].valstrfunc = TablePtr_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[42].strvalfunc = (void (*)(char*))str2TablePtr;
	((ProcSystem*)am_model.$sys)->firsttype[43].size = sizeof(BulkTank*);
	((ProcSystem*)am_model.$sys)->firsttype[43].valstrfunc = TankPtr_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[43].strvalfunc = (void (*)(char*))str2TankPtr;
	((ProcSystem*)am_model.$sys)->firsttype[44].size = sizeof(BulkTransfer*);
	((ProcSystem*)am_model.$sys)->firsttype[44].valstrfunc = TankTransferPtr_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[44].strvalfunc = (void (*)(char*))str2TankTransferPtr;
	((ProcSystem*)am_model.$sys)->firsttype[45].size = sizeof(AMTankTransferList*);
	((ProcSystem*)am_model.$sys)->firsttype[45].valstrfunc = TankTransferList_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[46].size = sizeof(BulkTrigger*);
	((ProcSystem*)am_model.$sys)->firsttype[46].valstrfunc = TankTriggerPtr_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[46].strvalfunc = (void (*)(char*))str2TankTriggerPtr;
	((ProcSystem*)am_model.$sys)->firsttype[47].size = sizeof(AMTankTriggerList*);
	((ProcSystem*)am_model.$sys)->firsttype[47].valstrfunc = TankTriggerList_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[48].size = sizeof(ASITime);
	((ProcSystem*)am_model.$sys)->firsttype[48].valstrfunc = Time_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[48].strvalfunc = str2Real;
	((ProcSystem*)am_model.$sys)->firsttype[49].size = sizeof(ConvTransfer*);
	((ProcSystem*)am_model.$sys)->firsttype[49].valstrfunc = TransferPtr_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[49].strvalfunc = (void (*)(char*))str2TransferPtr;
	((ProcSystem*)am_model.$sys)->firsttype[51].size = sizeof(vehicle*);
	((ProcSystem*)am_model.$sys)->firsttype[51].valstrfunc = VehiclePtr_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[51].strvalfunc = (void (*)(char*))str2VehiclePtr;
	((ProcSystem*)am_model.$sys)->firsttype[52].size = sizeof(AMVehicleList*);
	((ProcSystem*)am_model.$sys)->firsttype[52].valstrfunc = VehicleList_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[54].size = sizeof(Velocity);
	((ProcSystem*)am_model.$sys)->firsttype[54].valstrfunc = Velocity_valstrfunc;
	((ProcSystem*)am_model.$sys)->firsttype[54].strvalfunc = str2Real;
}

